/**
 * @Title: AutoConfig.java
 * @Package com.kaver.sso.config
 * @author roc
 * @date Aug 11, 2021 10:48:26 AM
 * @version V1.0
 * @copyright kaver
 */
package com.kaver.sso.config;

import org.springframework.context.annotation.Bean;

import com.kaver.sso.filter.SsoUserHolderFilter;
import com.kaver.sso.helper.SsoHelper;
import com.kaver.sso.interceptor.AuthInterceptor;
import com.kaver.sso.interceptor.RightInterceptor;

/**
 * @ClassName: AutoConfig
 * @Description:
 * @author roc
 * @date Aug 11, 2021 10:48:26 AM
 * 
 */
public class AutoConfig {
    @Bean
    public SsoUserHolderFilter getSsoUserHolderFilter() {
        return new SsoUserHolderFilter();
    }
    @Bean
    public WebMvcConfig getWebMvcConfig() {
        return new WebMvcConfig();
    }
    @Bean
    public PropertiesConfig getPropertiesConfig() {
    	return new PropertiesConfig();
    }
    @Bean
    public AuthInterceptor getAuthInterceptor() {
        return new AuthInterceptor();
    }
    @Bean
    public RightInterceptor getRightInterceptor() {
    	return new RightInterceptor();
    }
    @Bean
    public SsoHelper getSsoHelper() {
    	return new SsoHelper();
    }
}
